<?php
function show_header($userId){
	switch ($userId){
		case 1:
			$hstr = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
				    <head>
				        <title>Tours admin</title>
				        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
				        <link rel="stylesheet" type="text/css" media="screen" href="/css/admin_style.css" />
				        <link rel="stylesheet" type="text/css" media="screen" href="/js/jquery/jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css" />
				        <link rel="stylesheet" type="text/css" media="screen" href="/js/jquery/jqGrid/css/ui.jqgrid.css" />
				<!-- <script type="text/javascript" src="/js/jquery/jquery-1.6.4.min.js" type="text/javascript"></script>-->
				        <script src="/js/jquery/jqGrid/js/jquery-1.5.2.min.js" type="text/javascript"></script>
				        <script src="/js/jquery/jqGrid/js/i18n/grid.locale-ru.js" type="text/javascript"></script>
				        <script src="/js/jquery/jqGrid/js/jquery.jqGrid.min.js" type="text/javascript"></script>
				    </head>
				    <body>
				        <div id="divNavi">
				            <ul>
				                <li><a href="/admin/">Список туров</a></li>
				                <li><a href="/admin/clients/">Cписок клиентов</a></li>
				                <li><a href="/admin/register/">Регистрация нового пользователя</a></li>
				                <li><a href="/admin/logout/">Выход</a></li>				<img src="/images/logo2.jpg" ALIGN="right"/>
				            </ul>
				        </div>
				        <div id="divContent">';
			break;
		case 0:
			$hstr = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
				    <head>
				        <title>Tours admin</title>
				        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
				        <link rel="stylesheet" type="text/css" media="screen" href="/css/admin_style.css" />
				        <link rel="stylesheet" type="text/css" media="screen" href="/js/jquery/jquery-ui/css/smoothness/jquery-ui-1.8.16.custom.css" />
				        <link rel="stylesheet" type="text/css" media="screen" href="/js/jquery/jqGrid/css/ui.jqgrid.css" />
				<!-- <script type="text/javascript" src="/js/jquery/jquery-1.6.4.min.js" type="text/javascript"></script>-->
				        <script src="/js/jquery/jqGrid/js/jquery-1.5.2.min.js" type="text/javascript"></script>
				        <script src="/js/jquery/jqGrid/js/i18n/grid.locale-ru.js" type="text/javascript"></script>
				        <script src="/js/jquery/jqGrid/js/jquery.jqGrid.min.js" type="text/javascript"></script>
				    </head>
				    <body>
				        <div id="divNavi">
				            <ul>
				                <li><a href="/admin/">Список туров</a></li>
				                <li><a href="/admin/clients/">Заявки</a></li>
				                <li><a href="/admin/register/">Заказы</a></li>
				                <li><a href="/admin/logout/">Выход</a></li>				<img src="/images/logo2.jpg" ALIGN="right"/>
				            </ul>
				        </div>
				        <div id="divContent">';
			break;
	}
	return $hstr;
}